<template>
  <!-- #ifdef H5 -->
  <el-button v-bind="$attrs">
    <template #default>
      <slot></slot>
    </template>
  </el-button>
  <!-- #endif -->
  <!-- #ifndef H5 -->
  <button v-bind="$attrs" />
  <!-- #endif -->
</template>
<script>
export default {
  inheritAttrs: false,
};
</script>
<script setup>
// #ifdef H5
import { ElButton } from 'element-plus'
import 'element-plus/theme-chalk/el-button.css'
// #endif
</script>
<style lang="scss" scoped></style>
